package com.itfreer.data.db;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itfreer.data.db.entity.DBRegistEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

import io.swagger.annotations.Api;

/**
 * 定义数据注册服务接口
 */
@RestController
@RequestMapping("/dbregist")
@Api("数据注册服务")
public class RestDBRegistService extends BaseRestService<DBRegistEntity> {
	
	@Autowired(required = false)
	private DBRegistService service;

	@Override
	protected BaseService<DBRegistEntity> getService() {
		return service;
	}
}